id
stringlengths
52
144
question
stringlengths
3
879
target
stringlengths
1
248
answers
sequence
ctxs
list
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_72_0
public AttributesBarcode setAlignment(String alignment) { this.width = width; return this;
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setAlignment build describeContents writeToParcel createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_74_49
this.alignment = alignment; return this; } public AttributesBarcode setAlignment(String
alignment) {
[ "alignment) {\n" ]
[ { "title": "in_file#lines#0.5", "text": " this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "build describeContents writeToParcel createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_75_13
return this; } public AttributesBarcode setAlignment(String alignment) { this.
alignment = alignment;
[ "alignment = alignment;\n" ]
[ { "title": "in_file#lines#0.5", "text": " return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "build describeContents writeToParcel createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_76_0
} public AttributesBarcode setAlignment(String alignment) { this.alignment = alignment;
return this;
[ " return this;\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "build describeContents writeToParcel createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_77_0
this.alignment = alignment; return this;
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "build describeContents writeToParcel createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_80_29
return new AttributesBarcode() .setType(this.type) public AttributesBarcode
build(){
[ "build(){\n" ]
[ { "title": "in_file#lines#0.5", "text": " return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "describeContents writeToParcel createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_81_8
.setType(this.type) .setHri(this.hri) public AttributesBarcode build(){
return new AttributesBarcode()
[ "return new AttributesBarcode()\n" ]
[ { "title": "in_file#lines#0.5", "text": " .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "describeContents writeToParcel createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_82_2
.setHri(this.hri) .setFont(this.font) public AttributesBarcode build(){ return new AttributesBarcode()
.setType(this.type)
[ " .setType(this.type)\n" ]
[ { "title": "in_file#lines#0.5", "text": " .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "describeContents writeToParcel createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_83_15
.setFont(this.font) .setHeight(this.height) return new AttributesBarcode() .setType(this.type)
.setHri(this.hri)
[ " .setHri(this.hri)\n" ]
[ { "title": "in_file#lines#0.5", "text": " .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "describeContents writeToParcel createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_84_17
.setHeight(this.height) .setWidth(this.width) .setType(this.type) .setHri(this.hri) .
setFont(this.font)
[ "setFont(this.font)\n" ]
[ { "title": "in_file#lines#0.5", "text": " .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "describeContents writeToParcel createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_85_16
.setWidth(this.width) .setAlignment(this.alignment); .setHri(this.hri) .setFont(this.font)
.setHeight(this.height)
[ ".setHeight(this.height)\n" ]
[ { "title": "in_file#lines#0.5", "text": " .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "describeContents writeToParcel createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_86_17
.setAlignment(this.alignment); } .setFont(this.font) .setHeight(this.height) .
setWidth(this.width)
[ "setWidth(this.width)\n" ]
[ { "title": "in_file#lines#0.5", "text": " .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "describeContents writeToParcel createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_87_17
} .setHeight(this.height) .setWidth(this.width) .
setAlignment(this.alignment);
[ "setAlignment(this.alignment);\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "describeContents writeToParcel createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_88_0
// implements parcelable .setWidth(this.width) .setAlignment(this.alignment);
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "describeContents writeToParcel createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_92_3
public int describeContents() { return 0; // implements parcelable
@Override
[ " @Override\n" ]
[ { "title": "in_file#lines#0.5", "text": " public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "describeContents writeToParcel createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_93_11
return 0; } @Override public
int describeContents() {
[ "int describeContents() {\n" ]
[ { "title": "in_file#lines#0.5", "text": " return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "writeToParcel createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_94_8
} @Override public int describeContents() {
return 0;
[ "return 0;\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "writeToParcel createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_95_0
@Override public int describeContents() { return 0;
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "writeToParcel createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_97_4
public void writeToParcel(Parcel dest, int flags) { dest.writeString(type); }
@Override
[ "@Override\n" ]
[ { "title": "in_file#lines#0.5", "text": " public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "writeToParcel createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_98_16
dest.writeString(type); dest.writeString(hri); @Override public void
writeToParcel(Parcel dest, int flags) {
[ "writeToParcel(Parcel dest, int flags) {\n" ]
[ { "title": "in_file#lines#0.5", "text": " dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_99_8
dest.writeString(hri); dest.writeInt(font); @Override public void writeToParcel(Parcel dest, int flags) {
dest.writeString(type);
[ "dest.writeString(type);\n" ]
[ { "title": "in_file#lines#0.5", "text": " dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_100_8
dest.writeInt(font); dest.writeInt(height); public void writeToParcel(Parcel dest, int flags) { dest.writeString(type);
dest.writeString(hri);
[ "dest.writeString(hri);\n" ]
[ { "title": "in_file#lines#0.5", "text": " dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_101_13
dest.writeInt(height); dest.writeInt(width); dest.writeString(type); dest.writeString(hri); dest.
writeInt(font);
[ "writeInt(font);\n" ]
[ { "title": "in_file#lines#0.5", "text": " dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_102_13
dest.writeInt(width); dest.writeString(alignment); dest.writeString(hri); dest.writeInt(font); dest.
writeInt(height);
[ "writeInt(height);\n" ]
[ { "title": "in_file#lines#0.5", "text": " dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_103_13
dest.writeString(alignment); } dest.writeInt(font); dest.writeInt(height); dest.
writeInt(width);
[ "writeInt(width);\n" ]
[ { "title": "in_file#lines#0.5", "text": " dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_104_5
} dest.writeInt(height); dest.writeInt(width);
dest.writeString(alignment);
[ " dest.writeString(alignment);\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_105_0
protected AttributesBarcode(Parcel in) { dest.writeInt(width); dest.writeString(alignment);
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_107_14
type = in.readString(); hri = in.readString(); } protected
AttributesBarcode(Parcel in) {
[ "AttributesBarcode(Parcel in) {\n" ]
[ { "title": "in_file#lines#0.5", "text": " type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_108_13
hri = in.readString(); font = in.readInt(); protected AttributesBarcode(Parcel in) { type
= in.readString();
[ "= in.readString();\n" ]
[ { "title": "in_file#lines#0.5", "text": " hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_109_17
font = in.readInt(); height = in.readInt(); protected AttributesBarcode(Parcel in) { type = in.readString(); hri = in.
readString();
[ "readString();\n" ]
[ { "title": "in_file#lines#0.5", "text": " font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_110_18
height = in.readInt(); width = in.readInt(); type = in.readString(); hri = in.readString(); font = in.
readInt();
[ "readInt();\n" ]
[ { "title": "in_file#lines#0.5", "text": " height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_111_5
width = in.readInt(); alignment = in.readString(); hri = in.readString(); font = in.readInt();
height = in.readInt();
[ " height = in.readInt();\n" ]
[ { "title": "in_file#lines#0.5", "text": " width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_112_0
alignment = in.readString(); } font = in.readInt(); height = in.readInt();
width = in.readInt();
[ " width = in.readInt();\n" ]
[ { "title": "in_file#lines#0.5", "text": " alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "alignment in readString CREATOR Override createFromParcel in in Override newArray size size Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_113_0
} height = in.readInt(); width = in.readInt();
alignment = in.readString();
[ " alignment = in.readString();\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "CREATOR Override createFromParcel in in Override newArray size size Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_114_0
public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() { width = in.readInt(); alignment = in.readString();
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "CREATOR Override createFromParcel in in Override newArray size size Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_116_65
@Override public AttributesBarcode createFromParcel(Parcel in) { } public static final Creator<AttributesBarcode> CREATOR = new
Creator<AttributesBarcode>() {
[ "Creator<AttributesBarcode>() {\n" ]
[ { "title": "in_file#lines#0.5", "text": " @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "Override createFromParcel in in Override newArray size size AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_117_0
public AttributesBarcode createFromParcel(Parcel in) { return new AttributesBarcode(in); public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {
@Override
[ " @Override\n" ]
[ { "title": "in_file#lines#0.5", "text": " public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "createFromParcel in in Override newArray size size AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_118_15
return new AttributesBarcode(in); } public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() { @Override public
AttributesBarcode createFromParcel(Parcel in) {
[ "AttributesBarcode createFromParcel(Parcel in) {\n" ]
[ { "title": "in_file#lines#0.5", "text": " return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "in Override newArray size size AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_119_23
} @Override public AttributesBarcode createFromParcel(Parcel in) { return new
AttributesBarcode(in);
[ "AttributesBarcode(in);\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "Override newArray size size AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_120_0
@Override public AttributesBarcode createFromParcel(Parcel in) { return new AttributesBarcode(in);
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "Override newArray size size AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_122_5
public AttributesBarcode[] newArray(int size) { return new AttributesBarcode[size]; }
@Override
[ " @Override\n" ]
[ { "title": "in_file#lines#0.5", "text": " public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "newArray size size AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_123_15
return new AttributesBarcode[size]; } @Override public
AttributesBarcode[] newArray(int size) {
[ "AttributesBarcode[] newArray(int size) {\n" ]
[ { "title": "in_file#lines#0.5", "text": " return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " return new AttributesBarcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "size AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_124_12
} }; @Override public AttributesBarcode[] newArray(int size) {
return new AttributesBarcode[size];
[ "return new AttributesBarcode[size];\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_125_0
}; public AttributesBarcode[] newArray(int size) { return new AttributesBarcode[size];
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": " };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_126_0
} return new AttributesBarcode[size]; }
};
[ " };\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesBarcode.java_128_0
};
}
[ "}\n" ]
[ { "title": "in_file#lines#0.5", "text": "", "score": 1 }, { "title": "in_file#lines#0.75", "text": "", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesBarcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.FONT_A;\nimport static rawbt.api.Constant.HRI_NONE;\n\npublic class AttributesBarcode implements Parcelable {\n String type;\n\n String hri = HRI_NONE;\n int font = FONT_A;\n int height = 162;\n int width = 3;\n\n String alignment = ALIGNMENT_LEFT;\n\n public AttributesBarcode() {\n }\n\n // =========== get & set ========================\n\n\n public String getType() {\n return type;\n }\n\n public String getHri() {\n return hri;\n }\n\n public int getFont() {\n return font;\n }\n\n public int getHeight() {\n return height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public AttributesBarcode setType(String type) {\n this.type = type;\n return this;\n }\n\n public AttributesBarcode setHri(String hri) {\n this.hri = hri;\n return this;\n }\n\n public AttributesBarcode setFont(int font) {\n this.font = font;\n return this;\n }\n\n public AttributesBarcode setHeight(int height) {\n this.height = height;\n return this;\n }\n\n public AttributesBarcode setWidth(int width) {\n this.width = width;\n return this;\n }\n\n public AttributesBarcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesBarcode build(){\n return new AttributesBarcode()\n .setType(this.type)\n .setHri(this.hri)\n .setFont(this.font)\n .setHeight(this.height)\n .setWidth(this.width)\n .setAlignment(this.alignment);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(type);\n dest.writeString(hri);\n dest.writeInt(font);\n dest.writeInt(height);\n dest.writeInt(width);\n dest.writeString(alignment);\n }\n\n protected AttributesBarcode(Parcel in) {\n type = in.readString();\n hri = in.readString();\n font = in.readInt();\n height = in.readInt();\n width = in.readInt();\n alignment = in.readString();\n }\n\n public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n };\n\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesBarcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesBarcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesBarcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [AttributesPdf] [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n[AttributesBarcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } \n[AttributesBarcode]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; \n[AttributesBarcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray \n[AttributesBarcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] \n[AttributesBarcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode \n[AttributesBarcode]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_0_8
package
rawbt.api.attributes;
[ "rawbt.api.attributes;\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n", "score": 0.0625 }, { "title": "codex", "text": "package ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_3_0
import android.os.Parcelable;
import android.os.Parcel;
[ "import android.os.Parcel;\n" ]
[ { "title": "in_file#lines#0.5", "text": "import android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "import android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "import android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_4_15
import static rawbt.api.Constant.ALIGNMENT_LEFT; import android.os.Parcel; import android.
os.Parcelable;
[ "os.Parcelable;\n" ]
[ { "title": "in_file#lines#0.5", "text": "\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n ", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_6_33
import static rawbt.api.Constant.DITHERING_BW; import android.os.Parcelable; import static rawbt.api.Constant.
ALIGNMENT_LEFT;
[ "ALIGNMENT_LEFT;\n" ]
[ { "title": "in_file#lines#0.5", "text": "import static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "import static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "import static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n ", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_7_33
public class AttributesImage implements Parcelable { import static rawbt.api.Constant.ALIGNMENT_LEFT; import static rawbt.api.Constant.
DITHERING_BW;
[ "DITHERING_BW;\n" ]
[ { "title": "in_file#lines#0.5", "text": "\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public Attributes", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_9_29
int graphicFilter = DITHERING_BW; boolean rotateImage = false; import static rawbt.api.Constant.DITHERING_BW; public class AttributesImage
implements Parcelable {
[ "implements Parcelable {\n" ]
[ { "title": "in_file#lines#0.5", "text": " int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n ", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_10_24
boolean rotateImage = false; boolean inverseColor = false; public class AttributesImage implements Parcelable { int graphicFilter =
DITHERING_BW;
[ "DITHERING_BW;\n" ]
[ { "title": "in_file#lines#0.5", "text": " boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_11_24
boolean inverseColor = false; private int scale = 16; public class AttributesImage implements Parcelable { int graphicFilter = DITHERING_BW; boolean rotateImage
= false;
[ "= false;\n" ]
[ { "title": "in_file#lines#0.5", "text": " boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n ", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_12_12
private int scale = 16; private boolean doScale = true; int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean
inverseColor = false;
[ "inverseColor = false;\n" ]
[ { "title": "in_file#lines#0.5", "text": " private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_13_12
private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; boolean rotateImage = false; boolean inverseColor = false; private
int scale = 16;
[ "int scale = 16;\n" ]
[ { "title": "in_file#lines#0.5", "text": " private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_14_20
private String alignment = ALIGNMENT_LEFT; boolean inverseColor = false; private int scale = 16; private boolean
doScale = true;
[ "doScale = true;\n" ]
[ { "title": "in_file#lines#0.5", "text": " private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_15_19
private int scale = 16; private boolean doScale = true; private String
alignment = ALIGNMENT_LEFT;
[ "alignment = ALIGNMENT_LEFT;\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_19_4
}
public AttributesImage() {
[ "public AttributesImage() {\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_20_0
public AttributesImage(int graphicFilter) { public AttributesImage() {
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_22_31
this.graphicFilter = graphicFilter; } } public AttributesImage(int
graphicFilter) {
[ "graphicFilter) {\n" ]
[ { "title": "in_file#lines#0.5", "text": " this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_23_4
} public AttributesImage(int graphicFilter) {
this.graphicFilter = graphicFilter;
[ " this.graphicFilter = graphicFilter;\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_24_0
public AttributesImage(int graphicFilter) { this.graphicFilter = graphicFilter;
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_29_15
return graphicFilter; } // =========== get & set ======================== public int
getGraphicFilter() {
[ "getGraphicFilter() {\n" ]
[ { "title": "in_file#lines#0.5", "text": " return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_30_15
} public boolean isRotateImage() { // =========== get & set ======================== public int getGraphicFilter() { return
graphicFilter;
[ "graphicFilter;\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_31_0
public boolean isRotateImage() { return rotateImage; public int getGraphicFilter() { return graphicFilter;
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": " public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_32_4
return rotateImage; } return graphicFilter; }
public boolean isRotateImage() {
[ "public boolean isRotateImage() {\n" ]
[ { "title": "in_file#lines#0.5", "text": " return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_33_8
} public boolean isInverseColor() { } public boolean isRotateImage() {
return rotateImage;
[ "return rotateImage;\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_34_0
public boolean isInverseColor() { return inverseColor; public boolean isRotateImage() { return rotateImage;
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": " public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_35_19
return inverseColor; } return rotateImage; } public boolean
isInverseColor() {
[ "isInverseColor() {\n" ]
[ { "title": "in_file#lines#0.5", "text": " return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_36_8
} public int getScale() { } public boolean isInverseColor() {
return inverseColor;
[ "return inverseColor;\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_37_0
public int getScale() { return scale; public boolean isInverseColor() { return inverseColor;
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": " public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_38_0
return scale; } return inverseColor; }
public int getScale() {
[ " public int getScale() {\n" ]
[ { "title": "in_file#lines#0.5", "text": " return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_39_8
} public String getAlignment() { } public int getScale() {
return scale;
[ "return scale;\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_40_0
public String getAlignment() { return alignment; public int getScale() { return scale;
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": " public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_41_11
return alignment; } return scale; } public
String getAlignment() {
[ "String getAlignment() {\n" ]
[ { "title": "in_file#lines#0.5", "text": " return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_42_0
} } public String getAlignment() {
return alignment;
[ " return alignment;\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_43_0
public boolean isDoScale() { public String getAlignment() { return alignment;
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_45_11
return doScale; } } public
boolean isDoScale() {
[ "boolean isDoScale() {\n" ]
[ { "title": "in_file#lines#0.5", "text": " return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_46_8
} public boolean isDoScale() {
return doScale;
[ "return doScale;\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_47_0
public AttributesImage setGraphicFilter(int graphicFilter) { public boolean isDoScale() { return doScale;
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_49_48
this.graphicFilter = graphicFilter; return this; } public AttributesImage setGraphicFilter(int
graphicFilter) {
[ "graphicFilter) {\n" ]
[ { "title": "in_file#lines#0.5", "text": " this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_50_13
return this; } public AttributesImage setGraphicFilter(int graphicFilter) { this.
graphicFilter = graphicFilter;
[ "graphicFilter = graphicFilter;\n" ]
[ { "title": "in_file#lines#0.5", "text": " return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_51_8
} public AttributesImage setGraphicFilter(int graphicFilter) { this.graphicFilter = graphicFilter;
return this;
[ "return this;\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_52_0
public AttributesImage setRotateImage(boolean rotateImage) { this.graphicFilter = graphicFilter; return this;
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_54_42
this.rotateImage = rotateImage; return this; } public AttributesImage setRotateImage(
boolean rotateImage) {
[ "boolean rotateImage) {\n" ]
[ { "title": "in_file#lines#0.5", "text": " this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_55_25
return this; } public AttributesImage setRotateImage(boolean rotateImage) { this.rotateImage
= rotateImage;
[ "= rotateImage;\n" ]
[ { "title": "in_file#lines#0.5", "text": " return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_56_2
} public AttributesImage setRotateImage(boolean rotateImage) { this.rotateImage = rotateImage;
return this;
[ " return this;\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_57_0
public AttributesImage setInverseColor(boolean inverseColor) { this.rotateImage = rotateImage; return this;
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_59_27
this.inverseColor = inverseColor; return this; } public AttributesImage
setInverseColor(boolean inverseColor) {
[ "setInverseColor(boolean inverseColor) {\n" ]
[ { "title": "in_file#lines#0.5", "text": " this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_60_7
return this; } public AttributesImage setInverseColor(boolean inverseColor) {
this.inverseColor = inverseColor;
[ " this.inverseColor = inverseColor;\n" ]
[ { "title": "in_file#lines#0.5", "text": " return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_61_7
} public AttributesImage setInverseColor(boolean inverseColor) { this.inverseColor = inverseColor;
return this;
[ " return this;\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_62_0
public AttributesImage setScale(int scale) { this.inverseColor = inverseColor; return this;
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_64_36
this.scale = scale; return this; } public AttributesImage setScale(
int scale) {
[ "int scale) {\n" ]
[ { "title": "in_file#lines#0.5", "text": " this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_65_0
return this; } public AttributesImage setScale(int scale) {
this.scale = scale;
[ " this.scale = scale;\n" ]
[ { "title": "in_file#lines#0.5", "text": " return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_66_7
} public AttributesImage setScale(int scale) { this.scale = scale;
return this;
[ " return this;\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_67_0
public AttributesImage setAlignment(String alignment) { this.scale = scale; return this;
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setAlignment setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_69_11
this.alignment = alignment; return this; } public
AttributesImage setAlignment(String alignment) {
[ "AttributesImage setAlignment(String alignment) {\n" ]
[ { "title": "in_file#lines#0.5", "text": " this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " this.alignment = alignment;\n return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_70_8
return this; } public AttributesImage setAlignment(String alignment) {
this.alignment = alignment;
[ "this.alignment = alignment;\n" ]
[ { "title": "in_file#lines#0.5", "text": " return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]
data/train/402d/RawbtAPI/api/src/main/java/rawbt/api/attributes/AttributesImage.java_71_2
} public AttributesImage setAlignment(String alignment) { this.alignment = alignment;
return this;
[ " return this;\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesImage(Parcel in) {\n graphicFilter = in.readInt();\n rotateImage = in.readByte()!= 0;\n inverseColor = in.readByte()!= 0;\n scale = in.readInt();\n alignment = in.readString();\n doScale = in.readByte()!= 0;\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(graphicFilter);\n dest.writeByte((byte) (rotateImage? 1 : 0));\n dest.writeByte((byte) (inverseColor? 1 : 0));\n dest.writeInt(scale);\n dest.writeString(alignment);\n dest.writeByte((byte) (doScale? 1 : 0));\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setDoScale writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandImageInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable rawbt api attributes AttributesImage CommandImageInBase64 TAG command TAG base64 attributesImage CommandImageInBase64 CommandImageInBase64 base64 attributesImage base64 base64 attributesImage attributesImage Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandImageInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[AttributesImage]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\nimport static rawbt.api.Constant.DITHERING_BW;\n\npublic class AttributesImage implements Parcelable {\n int graphicFilter = DITHERING_BW;\n boolean rotateImage = false;\n boolean inverseColor = false;\n private int scale = 16;\n private boolean doScale = true;\n private String alignment = ALIGNMENT_LEFT;\n\n\n\n public AttributesImage() {\n }\n\n public AttributesImage(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n }\n\n\n\n // =========== get & set ========================\n public int getGraphicFilter() {\n return graphicFilter;\n }\n public boolean isRotateImage() {\n return rotateImage;\n }\n public boolean isInverseColor() {\n return inverseColor;\n }\n public int getScale() {\n return scale;\n }\n public String getAlignment() {\n return alignment;\n }\n\n public boolean isDoScale() {\n return doScale;\n }\n\n public AttributesImage setGraphicFilter(int graphicFilter) {\n this.graphicFilter = graphicFilter;\n return this;\n }\n\n public AttributesImage setRotateImage(boolean rotateImage) {\n this.rotateImage = rotateImage;\n return this;\n }\n\n public AttributesImage setInverseColor(boolean inverseColor) {\n this.inverseColor = inverseColor;\n return this;\n }\n\n public AttributesImage setScale(int scale) {\n this.scale = scale;\n return this;\n }\n\n public AttributesImage setAlignment(String alignment) {\n this.alignment = alignment;\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[AttributesImage]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[AttributesImage]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandImageInBase64] \"image\" [AttributesPdf] [AttributesQRcode] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesImage]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } \n[AttributesImage]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; \n[AttributesImage]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesImage]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesImage] \n[AttributesImage]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesImage]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "", "score": 0.02 }, { "title": "import_of_child_class_file#identifiers#0.5", "text": "", "score": 0.0196078431372549 }, { "title": "import_of_child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.019230769230769232 }, { "title": "import_of_child_class_file#method_names#0.5", "text": "", "score": 0.018867924528301886 }, { "title": "import_of_child_class_file#field_declarations#0.5", "text": "", "score": 0.018518518518518517 }, { "title": "import_of_child_class_file#type_identifiers#0.5", "text": "", "score": 0.01818181818181818 }, { "title": "import_of_child_class_file#string_literals#0.5", "text": "", "score": 0.017857142857142856 }, { "title": "child_class_file#field_declarations#0.5", "text": "", "score": 0.017543859649122806 }, { "title": "import_of_parent_class_file#identifiers#0.5", "text": "", "score": 0.017241379310344827 }, { "title": "import_of_parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.01694915254237288 }, { "title": "import_of_parent_class_file#type_identifiers#0.5", "text": "", "score": 0.016666666666666666 }, { "title": "import_of_parent_class_file#field_declarations#0.5", "text": "", "score": 0.01639344262295082 }, { "title": "import_of_parent_class_file#string_literals#0.5", "text": "", "score": 0.016129032258064516 }, { "title": "import_of_parent_class_file#method_names#0.5", "text": "", "score": 0.015873015873015872 } ]